using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace SharePointExplorer
{
    /// <summary>
    /// Item Listview class
    /// </summary>
    public class TheFileListItem : ListViewItem
    {
        private string _FileIconType;
        private string _FileName;
        private string _FileAuthor;
        private DateTime _LastModifDate;

        /// <summary>
        /// Default constructor
        /// </summary>
        public TheFileListItem()
        {}

        /// <summary>
        /// File Icon Type
        /// </summary>
        public string FileIconType
        {
            get
            { 
                return _FileIconType;
            }
            set
            {
                _FileIconType = value;
            }
        }

        /// <summary>
        /// File Name
        /// </summary>
        public string FileName
        {
            get
            {
                return _FileName;
            }
            set
            {
                _FileName = value;
            }
        }

        /// <summary>
        /// File Author
        /// </summary>
        public string FileAuthor
        {
            get
            {
                return _FileAuthor;
            }
            set
            {
                _FileAuthor = value;
            }
        }

        /// <summary>
        /// File Last Modification Date
        /// </summary>
        public DateTime LastModifDate
        {
            get
            {
                return _LastModifDate;
            }
            set
            {
                _LastModifDate = value;
            }
        }

    }
}
